<?php if(!defined('HDPHP_PATH'))exit;C('SHOW_NOTICE',FALSE);?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">

	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<title>无标题文档</title>
		<link href="http://127.0.0.1/vancl/Static/Admin/css/style.css" rel="stylesheet" type="text/css" />
		<link rel="stylesheet" type="text/css" href="http://127.0.0.1/vancl/Static/hdjs/hdjs.css"/>
		<script type="text/javascript" src="http://127.0.0.1/vancl/Static/js/jquery-1.7.2.min.js"></script>
		<script type="text/javascript" src="http://127.0.0.1/vancl/Static/hdjs/hdjs.min.js"></script>
		<script type="text/javascript">
			
			$(function(){
				$('form').validate({
					tname : {
						rule: {
							required: true,
							maxlen: 16
						},
						error: {
							required: "商品名称不能为空",
							maxlen: '商品名称不能超过16个字符'
						}
					}
				})
			})
			
		</script>
	</head>

	<body>

		<div class="place">
			<span>位置：</span>
			<ul class="placeul">
				<li><a href="#">商品管理</a></li>
				<li><a href="#">添加类型</a></li>
			</ul>
		</div>
		<form action="" method="POST">
			<div class="formbody">
	
				<div class="formtitle"><span>添加商品类型</span></div>
				
				<ul class="forminfo">
					<li>
						<label>商品类型名称</label>
						<input name="tname" type="text" class="dfinput" />
						<i>请在输入框中填写要添加的商品类型名称，然后点击添加按钮</i>
					</li>
					<li>
						<label>&nbsp;</label>
						<input name="" type="submit" class="btn" value="确认添加" />
					</li>
				</ul>
	
			</div>
		</form>
	</body>

</html>